filename=FileTrans
s="[Desktop Entry]\nName=文件传输\nComment=A file transfer base on Qt.\nExec=`pwd`/$filename\nIcon=`pwd`/$filename.png\nPath=`pwd`\nTerminal=false\nType=Application\nCategories=Net;"
echo -e $s > $filename.desktop
cp `pwd`/$filename.desktop ~/.local/share/applications/$filename.desktop
